<!DOCTYPE html>
<html>
  <head>
    <title>测试报告</title>
    <meta charset="UTF-8">
    <style>body {    
    font-family: consolas, Verdana, sans-serif;
    font-size: .92em;
    color: #696e71;
}

.main_section {   
    width: 90%;
    margin: 0 auto;
}

#float_menu{    
    position:fixed;
    top:0;
    right:0;
    text-align: center;
}

#float_menu .menu-item {       
    cursor: pointer;
    padding: .5em;
    margin: .5em 0;
    color: #c08580;
    background-color: #f8f0ef;
    font-size: 1.2em;
}



.result{  
    display: flex;
}
  
  
.result_table{
    border-collapse: collapse;
    border: 1px solid #f0e0e5;
    width: 30em;
    text-align: center;
    font-size: 1.0em;
}
      
.result_table td{
    border: 1px solid #f0e0e5;
    padding: .3em;
}
  
.result_barchart{  
    width: 30em;
    margin: 0 5em 0 5em;
}
  
.barchar_item{
    margin: 2em 0;
}
  
  .barchart_barbox {
    margin: 0.5em 0;
    width: 100%;
    background-color: #ddd;
}
  
  .barchart_bar {
    text-align: right;
    color: white;
}
  
  



.h3_button {
    margin: 1.5em;
    cursor: pointer;
    color: #03a9f4;
}


.info
{
    white-space:pre-wrap;
    padding: .6em;
}


.error-info
{
    color: #a64747
}

.suite_dir {
    margin: 1em .2em;
    padding: .3em;
    /* background-color: #dfeff6; */
    border: 1px solid #bcd8e4;
}
.suite_file {
    margin: 1em .2em;
    padding: .3em;
    border: 1px solid #bcd8e4;
}


.case {
    margin: 1em .2em;
    /* padding: .3em; */
    border: 1px solid #e7d4d4;
}

.case_class_path{
    margin: 0em 1em; 
}


.folder_header { 
    padding: .2em .7em;
    background-color: #fffaf9;
    cursor: pointer;
}


.setup{
    margin: .2em;
    /* padding: .3em; */
    /* border: 1px solid #e7d4d4; */
}
.teardown{
    margin: .2em;
    /* padding: .3em;*/
    /* border: 1px solid #e7d4d4; */
}
.test_steps{
    margin: .2em;
    padding: .3em;
    /* border: 1px solid #e7d4d4; */
}


.label {
    display: inline-block;
    padding: .1em .5em;
    font-size: .88em;
    letter-spacing: 1px;
    white-space: nowrap;
    color: #0d6ebc;
    border-radius: .2em;
    min-width: 5em;    
    margin-right: 2em;
    font-family: consolas;
}

/* .suite_setup .label{
    color: #219e26 ;
}
.suite_teardown .label{
    color: #219e26;
} */


/* .case.pass   .casename{
    color: #329132 ;
} */
.case.pass   .caselabel{
    color: white;
    background-color: #3b9e3f;
}
/* .case.fail   .casename{
    color: #a64747;
} */
.case.fail   .caselabel{
    color: white;
    background-color: #a64747;
}
/* .case.abort   .casename{
    color: #953ab7;
} */
.case.abort   .caselabel{
    color: white;
    background-color: #9c27b0;
}



.case_step  {
    margin: .8em;
}
.checkpoint_pass {
    margin: .8em;
}
.checkpoint_fail {
    margin: .8em;
}

.case_step  .tag{
    color: #2196f3;;
    margin: .3em 1em .3em 0;
    padding: .1em .3em;
    font-size: .92em;
}

.checkpoint_pass .tag{
    color: #009806;
    margin:.3em 1em .3em .5em;
    padding: .1em .3em;
    font-size: .92em;
}
.checkpoint_fail .tag{
    color: #9c2020;
    margin:.3em 1em .3em .5em;
    padding: .1em .3em;
    font-size: .92em;
}

.screenshot {
    border: 1px solid #86c2dd;
}

.executetime {
    float: right;
}</style>
    <script type="text/javascript">var FOLDER_ALL_CASES = false //是否为精简模式的标记
var ERROR_INFOS = [];  // 错误信息列表
var current_error_idx = -1;

// 页面加载后执行的函数
window.addEventListener("load", function(){
    // 所有 .folder_header 添加点击事件处理
    let folderHeaderEles = document.querySelectorAll(".folder_header");
    folderHeaderEles.forEach(function(ele) {
        ele.addEventListener("click", function(event) {
        let fb = event.target.closest('.folder_header').nextElementSibling;
        fb.style.display = fb.style.display === 'none' ? 'block' : 'none'
        });
    });

    // 找到所有的错误信息对象
    ERROR_INFOS = document.querySelectorAll(".error-info");
});



function toggle_folder_all_cases(){
    let eles = document.querySelectorAll(".folder_body");
    
    FOLDER_ALL_CASES = !FOLDER_ALL_CASES;
    document.getElementById('display_mode').innerHTML = FOLDER_ALL_CASES? "详细" : "精简"

    for (const ele of eles){
        ele.style.display =  FOLDER_ALL_CASES? "none": "block"
    }
    
}



function previous_error(){
    // 查找错误必须是详细模式
    if (FOLDER_ALL_CASES)
        toggle_folder_all_cases()

    current_error_idx -= 1; 
    if (current_error_idx<0)
        current_error_idx = 0

    
    let error = ERROR_INFOS[current_error_idx];

    error.scrollIntoView({behavior: "smooth", block: "center", inline: "start"});

    
}


function next_error(){
    
    // 查找错误必须是详细模式
    if (FOLDER_ALL_CASES)
        toggle_folder_all_cases()

    current_error_idx += 1;
    if (current_error_idx > ERROR_INFOS.length-1)
        current_error_idx = ERROR_INFOS.length-1

    let error = ERROR_INFOS[current_error_idx];

    error.scrollIntoView({behavior: "smooth", block: "center", inline: "start"});
    
}</script>
  </head>
  <body>
    <div class="main_section">
      <h1 style="font-family: auto">测试报告 - hytest v0.7.2</h1>
      <h3>统计结果</h3>
      <div class="result">
        <table class="result_table">
          <tbody>
            <tr>
              <td>开始时间</td>
              <td>20210621 13:39:29</td>
            </tr>
            <tr>
              <td>结束时间</td>
              <td>20210621 13:39:30</td>
            </tr>
            <tr>
              <td>耗时</td>
              <td>0.583 秒</td>
            </tr>
            <tr>
              <td>预备执行用例数量</td>
              <td>6</td>
            </tr>
            <tr>
              <td>实际执用例行数量</td>
              <td>6</td>
            </tr>
            <tr>
              <td>通过</td>
              <td>0</td>
            </tr>
            <tr>
              <td>失败</td>
              <td style="color:red">6</td>
            </tr>
            <tr>
              <td>异常</td>
              <td style="">0</td>
            </tr>
            <tr>
              <td>阻塞</td>
              <td style="">0</td>
            </tr>
            <tr>
              <td>套件初始化失败</td>
              <td style="">0</td>
            </tr>
            <tr>
              <td>套件清除失败</td>
              <td style="">0</td>
            </tr>
            <tr>
              <td>用例初始化失败</td>
              <td style="">0</td>
            </tr>
            <tr>
              <td>用例清除失败</td>
              <td style="">0</td>
            </tr>
          </tbody>
        </table>
        <div class="result_barchart">
          <div class="barchar_item">
            <span>用例通过 0% ： 0 个</span>
            <div class="barchart_barbox">
              <div class="barchart_bar" style="width: 0.0%; background-color: #04AA6D;">0.0%</div>
            </div>
          </div>
          <div class="barchar_item">
            <span>用例失败 100% ： 6 个</span>
            <div class="barchart_barbox">
              <div class="barchart_bar" style="width: 100.0%; background-color: #bb4069;">100.0%</div>
            </div>
          </div>
          <div class="barchar_item">
            <span>用例异常 0% ： 0 个</span>
            <div class="barchart_barbox">
              <div class="barchart_bar" style="width: 0.0%; background-color: #9c27b0;">0.0%</div>
            </div>
          </div>
          <div class="barchar_item">
            <span>用例阻塞 0% ： 0 个</span>
            <div class="barchart_barbox">
              <div class="barchart_bar" style="width: 0.0%; background-color: #dcbdbd;">0.0%</div>
            </div>
          </div>
        </div>
      </div>
      <div style="margin-top:2em">
        <h3 style="display:inline">执行日志</h3>
      </div>
      <div class="exec_log">
        <div class="suite_file" id="suite_file cases\API\Point2.py">
          <div>
            <span class="label">进入文件</span>
            <span>cases\API\Point2.py</span>
          </div>
          <div class="suite_setup setup" id="suite_setup setup cases\API\Point2.py">
            <div class="folder_header">
              <span class="label">套件初始化</span>
              <span>cases\API\Point2.py</span>
              <span class="executetime">2021-06-21 13:39:29</span>
            </div>
            <div class="folder_body">
              <div class="info">返回token</div>
            </div>
          </div>
          <div class="case fail" id="case_00000001">
            <div class="folder_header">
              <span class="label caselabel">用例 FAIL</span>
              <span class="casename">API_2009</span>
              <span class="executetime">2021-06-21 13:39:30</span>
            </div>
            <div class="folder_body">
              <span class="case_class_path">cases\API\Point2.py::API_2009</span>
              <div class="test_steps" id="test_steps API_2009">
                <span class="label">测试步骤</span>
                <div class="info">数据点监控接口：通过子系统查询设备实时状态信息 测试     #2.2       api/v1/dataManagement/getPointByAppName</div>
                <div class="info">前置条件：token正确，'appName': 'ECS,FYM'错误，虽然存在，但不再目标appName内，locationId不填</div>
                <div class="info">预期结果:
{
    &quot;msg&quot;: &quot;请求失败&quot;,
    &quot;code&quot;: 1,
    &quot;data&quot;: 0,
    &quot;type&quot;: null,
    &quot;status&quot;: &quot;false&quot;
}</div>
                <div class="info">测试结果：
{
    &quot;status&quot;: &quot;success&quot;,
    &quot;msg&quot;: &quot;查询成功&quot;,
    &quot;code&quot;: 0,
    &quot;type&quot;: null,
    &quot;data&quot;: []
}</div>
                <div class="info">
对比结果：
['&quot;code&quot;:0', '&quot;code&quot;:1', '&quot;data&quot;:', '&quot;data&quot;:0', '&quot;msg&quot;:&quot;查询成功&quot;', '&quot;msg&quot;:&quot;请求失败&quot;', '&quot;status&quot;:&quot;false&quot;', '&quot;status&quot;:&quot;success&quot;']</div>
                <div class="checkpoint_fail">
                  <span class="tag">检查点 FAIL</span>
                  <span>预期结果和输出结果是否保持一致</span>
                </div>
                <div class="info error-info"> 
Traceback:
  File &quot;cases\API\Point2.py&quot;, line 111, in teststeps
    CHECK_POINT('预期结果和输出结果是否保持一致',expectedResult==response.content.decode('utf8'))
  File &quot;C:\Users\EDZ\PycharmProjects\pythonProject\venv\lib\site-packages\hytest\common.py&quot;, line 50, in CHECK_POINT
    raise AssertionError()
AssertionError
</div>
              </div>
            </div>
          </div>
          <div class="case fail" id="case_00000002">
            <div class="folder_header">
              <span class="label caselabel">用例 FAIL</span>
              <span class="casename">API_2009_01</span>
              <span class="executetime">2021-06-21 13:39:30</span>
            </div>
            <div class="folder_body">
              <span class="case_class_path">cases\API\Point2.py::API_2009_01</span>
              <div class="test_steps" id="test_steps API_2009_01">
                <span class="label">测试步骤</span>
                <div class="info">数据点监控接口：通过子系统查询设备实时状态信息 测试     #2.2       api/v1/dataManagement/getPointByAppName</div>
                <div class="info">前置条件：token正确，'appName': 'AFC，PSD,BAS'错误，中英文逗号混合</div>
                <div class="info">预期结果:
{
    &quot;msg&quot;: &quot;请求失败&quot;,
    &quot;code&quot;: 1,
    &quot;data&quot;: 0,
    &quot;type&quot;: null,
    &quot;status&quot;: &quot;false&quot;
}</div>
                <div class="info">测试结果：
{
    &quot;status&quot;: &quot;success&quot;,
    &quot;msg&quot;: &quot;查询成功&quot;,
    &quot;code&quot;: 0,
    &quot;type&quot;: null,
    &quot;data&quot;: [
        {
            &quot;subAppName&quot;: &quot;BAS&quot;,
            &quot;deviceList&quot;: [
                {
                    &quot;deviceName&quot;: &quot;ESCALATOR002&quot;,
                    &quot;pointList&quot;: [
                        {
                            &quot;keyId&quot;: 98610722,
                            &quot;pointName&quot;: &quot;ZGZ.BAS.DFT.ESCALATOR02.ddicb.Value&quot;,
                            &quot;dataPtDesc&quot;: &quot;关闭&quot;,
                            &quot;value&quot;: &quot;1&quot;,
                            &quot;deviceName&quot;: &quot;ESCALATOR002&quot;,
                            &quot;subAppName&quot;: &quot;BAS&quot;
                        }
                    ]
                },
                {
                    &quot;deviceName&quot;: &quot;ESCALATOR003&quot;,
                    &quot;pointList&quot;: [
                        {
                            &quot;keyId&quot;: 98610725,
                            &quot;pointName&quot;: &quot;ZGZ.BAS.DFT.ESCALATOR03.ddicb.Value&quot;,
                            &quot;dataPtDesc&quot;: &quot;关闭&quot;,
                            &quot;value&quot;: &quot;1&quot;,
                            &quot;deviceName&quot;: &quot;ESCALATOR003&quot;,
                            &quot;subAppName&quot;: &quot;BAS&quot;
                        }
                    ]
                },
                {
                    &quot;deviceName&quot;: &quot;ESCALATOR004&quot;,
                    &quot;pointList&quot;: [
                        {
                            &quot;keyId&quot;: 98610728,
                            &quot;pointName&quot;: &quot;ZGZ.BAS.DFT.ESCALATOR04.ddicb.Value&quot;,
                            &quot;dataPtDesc&quot;: &quot;关闭&quot;,
                            &quot;value&quot;: &quot;1&quot;,
                            &quot;deviceName&quot;: &quot;ESCALATOR004&quot;,
                            &quot;subAppName&quot;: &quot;BAS&quot;
                        }
                    ]
                },
                {
                    &quot;deviceName&quot;: &quot;FJM001&quot;,
                    &quot;pointList&quot;: [
                        {
                            &quot;keyId&quot;: 98610784,
                            &quot;pointName&quot;: &quot;ZGZ.BAS.FJM.FJM01.ddicb01.Value&quot;,
                            &quot;dataPtDesc&quot;: &quot;开启&quot;,
                            &quot;value&quot;: &quot;0&quot;,
                            &quot;deviceName&quot;: &quot;FJM001&quot;,
                            &quot;subAppName&quot;: &quot;BAS&quot;
                        }
                    ]
                },
                {
                    &quot;deviceName&quot;: &quot;FJM002&quot;,
                    &quot;pointList&quot;: [
                        {
                            &quot;keyId&quot;: 98610787,
                            &quot;pointName&quot;: &quot;ZGZ.BAS.FJM.FJM02.ddicb01.Value&quot;,
                            &quot;dataPtDesc&quot;: &quot;开启&quot;,
                            &quot;value&quot;: &quot;0&quot;,
                            &quot;deviceName&quot;: &quot;FJM002&quot;,
                            &quot;subAppName&quot;: &quot;BAS&quot;
                        }
                    ]
                },
                {
                    &quot;deviceName&quot;: &quot;ZM001&quot;,
                    &quot;pointList&quot;: [
                        {
                            &quot;keyId&quot;: 98610746,
                            &quot;pointName&quot;: &quot;ZGZ.BAS.ZM.ILLUMINATION01.ddicb01.Value&quot;,
                            &quot;dataPtDesc&quot;: &quot;开启&quot;,
                            &quot;value&quot;: &quot;0&quot;,
                            &quot;deviceName&quot;: &quot;ZM001&quot;,
                            &quot;subAppName&quot;: &quot;BAS&quot;
                        }
                    ]
                },
                {
                    &quot;deviceName&quot;: &quot;ZM002&quot;,
                    &quot;pointList&quot;: [
                        {
                            &quot;keyId&quot;: 98610749,
                            &quot;pointName&quot;: &quot;ZGZ.BAS.ZM.ILLUMINATION02.ddicb01.Value&quot;,
                            &quot;dataPtDesc&quot;: &quot;开启&quot;,
                            &quot;value&quot;: &quot;0&quot;,
                            &quot;deviceName&quot;: &quot;ZM002&quot;,
                            &quot;subAppName&quot;: &quot;BAS&quot;
                        }
                    ]
                }
            ]
        }
    ]
}</div>
                <div class="info">
对比结果：
['&quot;code&quot;:0', '&quot;code&quot;:1', '&quot;data&quot;:&quot;subAppName&quot;:&quot;BAS&quot;', '&quot;data&quot;:0', '&quot;dataPtDesc&quot;:&quot;关闭&quot;', '&quot;dataPtDesc&quot;:&quot;开启&quot;', '&quot;deviceList&quot;:&quot;deviceName&quot;:&quot;ESCALATOR002&quot;', '&quot;deviceName&quot;:&quot;ESCALATOR002&quot;', '&quot;deviceName&quot;:&quot;ESCALATOR003&quot;', '&quot;deviceName&quot;:&quot;ESCALATOR004&quot;', '&quot;deviceName&quot;:&quot;FJM001&quot;', '&quot;deviceName&quot;:&quot;FJM002&quot;', '&quot;deviceName&quot;:&quot;ZM001&quot;', '&quot;deviceName&quot;:&quot;ZM002&quot;', '&quot;msg&quot;:&quot;查询成功&quot;', '&quot;msg&quot;:&quot;请求失败&quot;', '&quot;pointList&quot;:&quot;keyId&quot;:98610722', '&quot;pointList&quot;:&quot;keyId&quot;:98610725', '&quot;pointList&quot;:&quot;keyId&quot;:98610728', '&quot;pointList&quot;:&quot;keyId&quot;:98610746', '&quot;pointList&quot;:&quot;keyId&quot;:98610749', '&quot;pointList&quot;:&quot;keyId&quot;:98610784', '&quot;pointList&quot;:&quot;keyId&quot;:98610787', '&quot;pointName&quot;:&quot;ZGZ.BAS.DFT.ESCALATOR02.ddicb.Value&quot;', '&quot;pointName&quot;:&quot;ZGZ.BAS.DFT.ESCALATOR03.ddicb.Value&quot;', '&quot;pointName&quot;:&quot;ZGZ.BAS.DFT.ESCALATOR04.ddicb.Value&quot;', '&quot;pointName&quot;:&quot;ZGZ.BAS.FJM.FJM01.ddicb01.Value&quot;', '&quot;pointName&quot;:&quot;ZGZ.BAS.FJM.FJM02.ddicb01.Value&quot;', '&quot;pointName&quot;:&quot;ZGZ.BAS.ZM.ILLUMINATION01.ddicb01.Value&quot;', '&quot;pointName&quot;:&quot;ZGZ.BAS.ZM.ILLUMINATION02.ddicb01.Value&quot;', '&quot;status&quot;:&quot;false&quot;', '&quot;status&quot;:&quot;success&quot;', '&quot;subAppName&quot;:&quot;BAS&quot;', '&quot;value&quot;:&quot;0&quot;', '&quot;value&quot;:&quot;1&quot;']</div>
                <div class="checkpoint_fail">
                  <span class="tag">检查点 FAIL</span>
                  <span>预期结果和输出结果是否保持一致</span>
                </div>
                <div class="info error-info"> 
Traceback:
  File &quot;cases\API\Point2.py&quot;, line 137, in teststeps
    CHECK_POINT('预期结果和输出结果是否保持一致',expectedResult==response.content.decode('utf8'))
  File &quot;C:\Users\EDZ\PycharmProjects\pythonProject\venv\lib\site-packages\hytest\common.py&quot;, line 50, in CHECK_POINT
    raise AssertionError()
AssertionError
</div>
              </div>
            </div>
          </div>
          <div class="case fail" id="case_00000003">
            <div class="folder_header">
              <span class="label caselabel">用例 FAIL</span>
              <span class="casename">API_2009_02</span>
              <span class="executetime">2021-06-21 13:39:30</span>
            </div>
            <div class="folder_body">
              <span class="case_class_path">cases\API\Point2.py::API_2009_02</span>
              <div class="test_steps" id="test_steps API_2009_02">
                <span class="label">测试步骤</span>
                <div class="info">数据点监控接口：通过子系统查询设备实时状态信息 测试     #2.2       api/v1/dataManagement/getPointByAppName</div>
                <div class="info">前置条件：token正确，'appName': 'AFC，PSD，BAS'错误，中文逗号</div>
                <div class="info">预期结果:
{
    &quot;msg&quot;: &quot;请求失败&quot;,
    &quot;code&quot;: 1,
    &quot;data&quot;: 0,
    &quot;type&quot;: null,
    &quot;status&quot;: &quot;false&quot;
}</div>
                <div class="info">测试结果：
{
    &quot;status&quot;: &quot;success&quot;,
    &quot;msg&quot;: &quot;查询成功&quot;,
    &quot;code&quot;: 0,
    &quot;type&quot;: null,
    &quot;data&quot;: []
}</div>
                <div class="info">
对比结果：
['&quot;code&quot;:0', '&quot;code&quot;:1', '&quot;data&quot;:', '&quot;data&quot;:0', '&quot;msg&quot;:&quot;查询成功&quot;', '&quot;msg&quot;:&quot;请求失败&quot;', '&quot;status&quot;:&quot;false&quot;', '&quot;status&quot;:&quot;success&quot;']</div>
                <div class="checkpoint_fail">
                  <span class="tag">检查点 FAIL</span>
                  <span>预期结果和输出结果是否保持一致</span>
                </div>
                <div class="info error-info"> 
Traceback:
  File &quot;cases\API\Point2.py&quot;, line 163, in teststeps
    CHECK_POINT('预期结果和输出结果是否保持一致',expectedResult==response.content.decode('utf8'))
  File &quot;C:\Users\EDZ\PycharmProjects\pythonProject\venv\lib\site-packages\hytest\common.py&quot;, line 50, in CHECK_POINT
    raise AssertionError()
AssertionError
</div>
              </div>
            </div>
          </div>
          <div class="case fail" id="case_00000004">
            <div class="folder_header">
              <span class="label caselabel">用例 FAIL</span>
              <span class="casename">API_2009_03</span>
              <span class="executetime">2021-06-21 13:39:30</span>
            </div>
            <div class="folder_body">
              <span class="case_class_path">cases\API\Point2.py::API_2009_03</span>
              <div class="test_steps" id="test_steps API_2009_03">
                <span class="label">测试步骤</span>
                <div class="info">数据点监控接口：通过子系统查询设备实时状态信息 测试     #2.2       api/v1/dataManagement/getPointByAppName</div>
                <div class="info">前置条件：token正确，'appName': 'AFC,PSD,BAS'错误，英文逗号</div>
                <div class="info">预期结果:
{
    &quot;msg&quot;: &quot;请求失败&quot;,
    &quot;code&quot;: 1,
    &quot;data&quot;: 0,
    &quot;type&quot;: null,
    &quot;status&quot;: &quot;false&quot;
}</div>
                <div class="info">测试结果：
{
    &quot;status&quot;: &quot;success&quot;,
    &quot;msg&quot;: &quot;查询成功&quot;,
    &quot;code&quot;: 0,
    &quot;type&quot;: null,
    &quot;data&quot;: [
        {
            &quot;subAppName&quot;: &quot;BAS&quot;,
            &quot;deviceList&quot;: [
                {
                    &quot;deviceName&quot;: &quot;ESCALATOR002&quot;,
                    &quot;pointList&quot;: [
                        {
                            &quot;keyId&quot;: 98610722,
                            &quot;pointName&quot;: &quot;ZGZ.BAS.DFT.ESCALATOR02.ddicb.Value&quot;,
                            &quot;dataPtDesc&quot;: &quot;关闭&quot;,
                            &quot;value&quot;: &quot;1&quot;,
                            &quot;deviceName&quot;: &quot;ESCALATOR002&quot;,
                            &quot;subAppName&quot;: &quot;BAS&quot;
                        }
                    ]
                },
                {
                    &quot;deviceName&quot;: &quot;ESCALATOR003&quot;,
                    &quot;pointList&quot;: [
                        {
                            &quot;keyId&quot;: 98610725,
                            &quot;pointName&quot;: &quot;ZGZ.BAS.DFT.ESCALATOR03.ddicb.Value&quot;,
                            &quot;dataPtDesc&quot;: &quot;关闭&quot;,
                            &quot;value&quot;: &quot;1&quot;,
                            &quot;deviceName&quot;: &quot;ESCALATOR003&quot;,
                            &quot;subAppName&quot;: &quot;BAS&quot;
                        }
                    ]
                },
                {
                    &quot;deviceName&quot;: &quot;ESCALATOR004&quot;,
                    &quot;pointList&quot;: [
                        {
                            &quot;keyId&quot;: 98610728,
                            &quot;pointName&quot;: &quot;ZGZ.BAS.DFT.ESCALATOR04.ddicb.Value&quot;,
                            &quot;dataPtDesc&quot;: &quot;关闭&quot;,
                            &quot;value&quot;: &quot;1&quot;,
                            &quot;deviceName&quot;: &quot;ESCALATOR004&quot;,
                            &quot;subAppName&quot;: &quot;BAS&quot;
                        }
                    ]
                },
                {
                    &quot;deviceName&quot;: &quot;FJM001&quot;,
                    &quot;pointList&quot;: [
                        {
                            &quot;keyId&quot;: 98610784,
                            &quot;pointName&quot;: &quot;ZGZ.BAS.FJM.FJM01.ddicb01.Value&quot;,
                            &quot;dataPtDesc&quot;: &quot;开启&quot;,
                            &quot;value&quot;: &quot;0&quot;,
                            &quot;deviceName&quot;: &quot;FJM001&quot;,
                            &quot;subAppName&quot;: &quot;BAS&quot;
                        }
                    ]
                },
                {
                    &quot;deviceName&quot;: &quot;FJM002&quot;,
                    &quot;pointList&quot;: [
                        {
                            &quot;keyId&quot;: 98610787,
                            &quot;pointName&quot;: &quot;ZGZ.BAS.FJM.FJM02.ddicb01.Value&quot;,
                            &quot;dataPtDesc&quot;: &quot;开启&quot;,
                            &quot;value&quot;: &quot;0&quot;,
                            &quot;deviceName&quot;: &quot;FJM002&quot;,
                            &quot;subAppName&quot;: &quot;BAS&quot;
                        }
                    ]
                },
                {
                    &quot;deviceName&quot;: &quot;ZM001&quot;,
                    &quot;pointList&quot;: [
                        {
                            &quot;keyId&quot;: 98610746,
                            &quot;pointName&quot;: &quot;ZGZ.BAS.ZM.ILLUMINATION01.ddicb01.Value&quot;,
                            &quot;dataPtDesc&quot;: &quot;开启&quot;,
                            &quot;value&quot;: &quot;0&quot;,
                            &quot;deviceName&quot;: &quot;ZM001&quot;,
                            &quot;subAppName&quot;: &quot;BAS&quot;
                        }
                    ]
                },
                {
                    &quot;deviceName&quot;: &quot;ZM002&quot;,
                    &quot;pointList&quot;: [
                        {
                            &quot;keyId&quot;: 98610749,
                            &quot;pointName&quot;: &quot;ZGZ.BAS.ZM.ILLUMINATION02.ddicb01.Value&quot;,
                            &quot;dataPtDesc&quot;: &quot;开启&quot;,
                            &quot;value&quot;: &quot;0&quot;,
                            &quot;deviceName&quot;: &quot;ZM002&quot;,
                            &quot;subAppName&quot;: &quot;BAS&quot;
                        }
                    ]
                }
            ]
        },
        {
            &quot;subAppName&quot;: &quot;AFC&quot;,
            &quot;deviceList&quot;: [
                {
                    &quot;deviceName&quot;: &quot;AFC001&quot;,
                    &quot;pointList&quot;: [
                        {
                            &quot;keyId&quot;: 98609913,
                            &quot;pointName&quot;: &quot;ZGZ.AFC.AGM1.ddiopen.Value&quot;,
                            &quot;dataPtDesc&quot;: &quot;开启&quot;,
                            &quot;value&quot;: &quot;0&quot;,
                            &quot;deviceName&quot;: &quot;AFC001&quot;,
                            &quot;subAppName&quot;: &quot;AFC&quot;
                        }
                    ]
                },
                {
                    &quot;deviceName&quot;: &quot;AFC002&quot;,
                    &quot;pointList&quot;: [
                        {
                            &quot;keyId&quot;: 98609949,
                            &quot;pointName&quot;: &quot;ZGZ.AFC.AGM10.ddiopen.Value&quot;,
                            &quot;dataPtDesc&quot;: &quot;开启&quot;,
                            &quot;value&quot;: &quot;0&quot;,
                            &quot;deviceName&quot;: &quot;AFC002&quot;,
                            &quot;subAppName&quot;: &quot;AFC&quot;
                        }
                    ]
                },
                {
                    &quot;deviceName&quot;: &quot;AFC003&quot;,
                    &quot;pointList&quot;: [
                        {
                            &quot;keyId&quot;: 98609954,
                            &quot;pointName&quot;: &quot;ZGZ.AFC.AGM11.ddiclose.Value&quot;,
                            &quot;dataPtDesc&quot;: &quot;关闭&quot;,
                            &quot;value&quot;: &quot;1&quot;,
                            &quot;deviceName&quot;: &quot;AFC003&quot;,
                            &quot;subAppName&quot;: &quot;AFC&quot;
                        }
                    ]
                },
                {
                    &quot;deviceName&quot;: &quot;AFC004&quot;,
                    &quot;pointList&quot;: [
                        {
                            &quot;keyId&quot;: 98609957,
                            &quot;pointName&quot;: &quot;ZGZ.AFC.AGM12.ddiopen.Value&quot;,
                            &quot;dataPtDesc&quot;: &quot;开启&quot;,
                            &quot;value&quot;: &quot;0&quot;,
                            &quot;deviceName&quot;: &quot;AFC004&quot;,
                            &quot;subAppName&quot;: &quot;AFC&quot;
                        }
                    ]
                },
                {
                    &quot;deviceName&quot;: &quot;AFC005&quot;,
                    &quot;pointList&quot;: [
                        {
                            &quot;keyId&quot;: 98609961,
                            &quot;pointName&quot;: &quot;ZGZ.AFC.AGM13.ddiopen.Value&quot;,
                            &quot;dataPtDesc&quot;: &quot;开启&quot;,
                            &quot;value&quot;: &quot;0&quot;,
                            &quot;deviceName&quot;: &quot;AFC005&quot;,
                            &quot;subAppName&quot;: &quot;AFC&quot;
                        }
                    ]
                }
            ]
        }
    ]
}</div>
                <div class="info">
对比结果：
['&quot;code&quot;:0', '&quot;code&quot;:1', '&quot;data&quot;:&quot;subAppName&quot;:&quot;BAS&quot;', '&quot;data&quot;:0', '&quot;dataPtDesc&quot;:&quot;关闭&quot;', '&quot;dataPtDesc&quot;:&quot;开启&quot;', '&quot;deviceList&quot;:&quot;deviceName&quot;:&quot;AFC001&quot;', '&quot;deviceList&quot;:&quot;deviceName&quot;:&quot;ESCALATOR002&quot;', '&quot;deviceName&quot;:&quot;AFC001&quot;', '&quot;deviceName&quot;:&quot;AFC002&quot;', '&quot;deviceName&quot;:&quot;AFC003&quot;', '&quot;deviceName&quot;:&quot;AFC004&quot;', '&quot;deviceName&quot;:&quot;AFC005&quot;', '&quot;deviceName&quot;:&quot;ESCALATOR002&quot;', '&quot;deviceName&quot;:&quot;ESCALATOR003&quot;', '&quot;deviceName&quot;:&quot;ESCALATOR004&quot;', '&quot;deviceName&quot;:&quot;FJM001&quot;', '&quot;deviceName&quot;:&quot;FJM002&quot;', '&quot;deviceName&quot;:&quot;ZM001&quot;', '&quot;deviceName&quot;:&quot;ZM002&quot;', '&quot;msg&quot;:&quot;查询成功&quot;', '&quot;msg&quot;:&quot;请求失败&quot;', '&quot;pointList&quot;:&quot;keyId&quot;:98609913', '&quot;pointList&quot;:&quot;keyId&quot;:98609949', '&quot;pointList&quot;:&quot;keyId&quot;:98609954', '&quot;pointList&quot;:&quot;keyId&quot;:98609957', '&quot;pointList&quot;:&quot;keyId&quot;:98609961', '&quot;pointList&quot;:&quot;keyId&quot;:98610722', '&quot;pointList&quot;:&quot;keyId&quot;:98610725', '&quot;pointList&quot;:&quot;keyId&quot;:98610728', '&quot;pointList&quot;:&quot;keyId&quot;:98610746', '&quot;pointList&quot;:&quot;keyId&quot;:98610749', '&quot;pointList&quot;:&quot;keyId&quot;:98610784', '&quot;pointList&quot;:&quot;keyId&quot;:98610787', '&quot;pointName&quot;:&quot;ZGZ.AFC.AGM1.ddiopen.Value&quot;', '&quot;pointName&quot;:&quot;ZGZ.AFC.AGM10.ddiopen.Value&quot;', '&quot;pointName&quot;:&quot;ZGZ.AFC.AGM11.ddiclose.Value&quot;', '&quot;pointName&quot;:&quot;ZGZ.AFC.AGM12.ddiopen.Value&quot;', '&quot;pointName&quot;:&quot;ZGZ.AFC.AGM13.ddiopen.Value&quot;', '&quot;pointName&quot;:&quot;ZGZ.BAS.DFT.ESCALATOR02.ddicb.Value&quot;', '&quot;pointName&quot;:&quot;ZGZ.BAS.DFT.ESCALATOR03.ddicb.Value&quot;', '&quot;pointName&quot;:&quot;ZGZ.BAS.DFT.ESCALATOR04.ddicb.Value&quot;', '&quot;pointName&quot;:&quot;ZGZ.BAS.FJM.FJM01.ddicb01.Value&quot;', '&quot;pointName&quot;:&quot;ZGZ.BAS.FJM.FJM02.ddicb01.Value&quot;', '&quot;pointName&quot;:&quot;ZGZ.BAS.ZM.ILLUMINATION01.ddicb01.Value&quot;', '&quot;pointName&quot;:&quot;ZGZ.BAS.ZM.ILLUMINATION02.ddicb01.Value&quot;', '&quot;status&quot;:&quot;false&quot;', '&quot;status&quot;:&quot;success&quot;', '&quot;subAppName&quot;:&quot;AFC&quot;', '&quot;subAppName&quot;:&quot;BAS&quot;', '&quot;value&quot;:&quot;0&quot;', '&quot;value&quot;:&quot;1&quot;']</div>
                <div class="checkpoint_fail">
                  <span class="tag">检查点 FAIL</span>
                  <span>预期结果和输出结果是否保持一致</span>
                </div>
                <div class="info error-info"> 
Traceback:
  File &quot;cases\API\Point2.py&quot;, line 189, in teststeps
    CHECK_POINT('预期结果和输出结果是否保持一致',expectedResult==response.content.decode('utf8'))
  File &quot;C:\Users\EDZ\PycharmProjects\pythonProject\venv\lib\site-packages\hytest\common.py&quot;, line 50, in CHECK_POINT
    raise AssertionError()
AssertionError
</div>
              </div>
            </div>
          </div>
          <div class="case fail" id="case_00000005">
            <div class="folder_header">
              <span class="label caselabel">用例 FAIL</span>
              <span class="casename">API_2009_04</span>
              <span class="executetime">2021-06-21 13:39:30</span>
            </div>
            <div class="folder_body">
              <span class="case_class_path">cases\API\Point2.py::API_2009_04</span>
              <div class="test_steps" id="test_steps API_2009_04">
                <span class="label">测试步骤</span>
                <div class="info">数据点监控接口：通过子系统查询设备实时状态信息 测试     #2.2       api/v1/dataManagement/getPointByAppName</div>
                <div class="info">前置条件：token正确，'appName': 'AFCPSDBAS'错误，没有英文逗号</div>
                <div class="info">预期结果:
{
    &quot;msg&quot;: &quot;请求失败&quot;,
    &quot;code&quot;: 1,
    &quot;data&quot;: 0,
    &quot;type&quot;: null,
    &quot;status&quot;: &quot;false&quot;
}</div>
                <div class="info">测试结果：
{
    &quot;status&quot;: &quot;success&quot;,
    &quot;msg&quot;: &quot;查询成功&quot;,
    &quot;code&quot;: 0,
    &quot;type&quot;: null,
    &quot;data&quot;: []
}</div>
                <div class="info">
对比结果：
['&quot;code&quot;:0', '&quot;code&quot;:1', '&quot;data&quot;:', '&quot;data&quot;:0', '&quot;msg&quot;:&quot;查询成功&quot;', '&quot;msg&quot;:&quot;请求失败&quot;', '&quot;status&quot;:&quot;false&quot;', '&quot;status&quot;:&quot;success&quot;']</div>
                <div class="checkpoint_fail">
                  <span class="tag">检查点 FAIL</span>
                  <span>预期结果和输出结果是否保持一致</span>
                </div>
                <div class="info error-info"> 
Traceback:
  File &quot;cases\API\Point2.py&quot;, line 215, in teststeps
    CHECK_POINT('预期结果和输出结果是否保持一致',expectedResult==response.content.decode('utf8'))
  File &quot;C:\Users\EDZ\PycharmProjects\pythonProject\venv\lib\site-packages\hytest\common.py&quot;, line 50, in CHECK_POINT
    raise AssertionError()
AssertionError
</div>
              </div>
            </div>
          </div>
          <div class="case fail" id="case_00000006">
            <div class="folder_header">
              <span class="label caselabel">用例 FAIL</span>
              <span class="casename">API_2009_05</span>
              <span class="executetime">2021-06-21 13:39:30</span>
            </div>
            <div class="folder_body">
              <span class="case_class_path">cases\API\Point2.py::API_2009_05</span>
              <div class="test_steps" id="test_steps API_2009_05">
                <span class="label">测试步骤</span>
                <div class="info">数据点监控接口：通过子系统查询设备实时状态信息 测试     #2.2       api/v1/dataManagement/getPointByAppName</div>
                <div class="info">前置条件：token正确，'appName': 'AFC,PSDBAS'错误，只有一个英文逗号</div>
                <div class="info">预期结果:
{
    &quot;msg&quot;: &quot;请求失败&quot;,
    &quot;code&quot;: 1,
    &quot;data&quot;: 0,
    &quot;type&quot;: null,
    &quot;status&quot;: &quot;false&quot;
}</div>
                <div class="info">测试结果：
{
    &quot;status&quot;: &quot;success&quot;,
    &quot;msg&quot;: &quot;查询成功&quot;,
    &quot;code&quot;: 0,
    &quot;type&quot;: null,
    &quot;data&quot;: [
        {
            &quot;subAppName&quot;: &quot;AFC&quot;,
            &quot;deviceList&quot;: [
                {
                    &quot;deviceName&quot;: &quot;AFC001&quot;,
                    &quot;pointList&quot;: [
                        {
                            &quot;keyId&quot;: 98609913,
                            &quot;pointName&quot;: &quot;ZGZ.AFC.AGM1.ddiopen.Value&quot;,
                            &quot;dataPtDesc&quot;: &quot;开启&quot;,
                            &quot;value&quot;: &quot;0&quot;,
                            &quot;deviceName&quot;: &quot;AFC001&quot;,
                            &quot;subAppName&quot;: &quot;AFC&quot;
                        }
                    ]
                },
                {
                    &quot;deviceName&quot;: &quot;AFC002&quot;,
                    &quot;pointList&quot;: [
                        {
                            &quot;keyId&quot;: 98609949,
                            &quot;pointName&quot;: &quot;ZGZ.AFC.AGM10.ddiopen.Value&quot;,
                            &quot;dataPtDesc&quot;: &quot;开启&quot;,
                            &quot;value&quot;: &quot;0&quot;,
                            &quot;deviceName&quot;: &quot;AFC002&quot;,
                            &quot;subAppName&quot;: &quot;AFC&quot;
                        }
                    ]
                },
                {
                    &quot;deviceName&quot;: &quot;AFC003&quot;,
                    &quot;pointList&quot;: [
                        {
                            &quot;keyId&quot;: 98609954,
                            &quot;pointName&quot;: &quot;ZGZ.AFC.AGM11.ddiclose.Value&quot;,
                            &quot;dataPtDesc&quot;: &quot;关闭&quot;,
                            &quot;value&quot;: &quot;1&quot;,
                            &quot;deviceName&quot;: &quot;AFC003&quot;,
                            &quot;subAppName&quot;: &quot;AFC&quot;
                        }
                    ]
                },
                {
                    &quot;deviceName&quot;: &quot;AFC004&quot;,
                    &quot;pointList&quot;: [
                        {
                            &quot;keyId&quot;: 98609957,
                            &quot;pointName&quot;: &quot;ZGZ.AFC.AGM12.ddiopen.Value&quot;,
                            &quot;dataPtDesc&quot;: &quot;开启&quot;,
                            &quot;value&quot;: &quot;0&quot;,
                            &quot;deviceName&quot;: &quot;AFC004&quot;,
                            &quot;subAppName&quot;: &quot;AFC&quot;
                        }
                    ]
                },
                {
                    &quot;deviceName&quot;: &quot;AFC005&quot;,
                    &quot;pointList&quot;: [
                        {
                            &quot;keyId&quot;: 98609961,
                            &quot;pointName&quot;: &quot;ZGZ.AFC.AGM13.ddiopen.Value&quot;,
                            &quot;dataPtDesc&quot;: &quot;开启&quot;,
                            &quot;value&quot;: &quot;0&quot;,
                            &quot;deviceName&quot;: &quot;AFC005&quot;,
                            &quot;subAppName&quot;: &quot;AFC&quot;
                        }
                    ]
                }
            ]
        }
    ]
}</div>
                <div class="info">
对比结果：
['&quot;code&quot;:0', '&quot;code&quot;:1', '&quot;data&quot;:&quot;subAppName&quot;:&quot;AFC&quot;', '&quot;data&quot;:0', '&quot;dataPtDesc&quot;:&quot;关闭&quot;', '&quot;dataPtDesc&quot;:&quot;开启&quot;', '&quot;deviceList&quot;:&quot;deviceName&quot;:&quot;AFC001&quot;', '&quot;deviceName&quot;:&quot;AFC001&quot;', '&quot;deviceName&quot;:&quot;AFC002&quot;', '&quot;deviceName&quot;:&quot;AFC003&quot;', '&quot;deviceName&quot;:&quot;AFC004&quot;', '&quot;deviceName&quot;:&quot;AFC005&quot;', '&quot;msg&quot;:&quot;查询成功&quot;', '&quot;msg&quot;:&quot;请求失败&quot;', '&quot;pointList&quot;:&quot;keyId&quot;:98609913', '&quot;pointList&quot;:&quot;keyId&quot;:98609949', '&quot;pointList&quot;:&quot;keyId&quot;:98609954', '&quot;pointList&quot;:&quot;keyId&quot;:98609957', '&quot;pointList&quot;:&quot;keyId&quot;:98609961', '&quot;pointName&quot;:&quot;ZGZ.AFC.AGM1.ddiopen.Value&quot;', '&quot;pointName&quot;:&quot;ZGZ.AFC.AGM10.ddiopen.Value&quot;', '&quot;pointName&quot;:&quot;ZGZ.AFC.AGM11.ddiclose.Value&quot;', '&quot;pointName&quot;:&quot;ZGZ.AFC.AGM12.ddiopen.Value&quot;', '&quot;pointName&quot;:&quot;ZGZ.AFC.AGM13.ddiopen.Value&quot;', '&quot;status&quot;:&quot;false&quot;', '&quot;status&quot;:&quot;success&quot;', '&quot;subAppName&quot;:&quot;AFC&quot;', '&quot;value&quot;:&quot;0&quot;', '&quot;value&quot;:&quot;1&quot;']</div>
                <div class="checkpoint_fail">
                  <span class="tag">检查点 FAIL</span>
                  <span>预期结果和输出结果是否保持一致</span>
                </div>
                <div class="info error-info"> 
Traceback:
  File &quot;cases\API\Point2.py&quot;, line 241, in teststeps
    CHECK_POINT('预期结果和输出结果是否保持一致',expectedResult==response.content.decode('utf8'))
  File &quot;C:\Users\EDZ\PycharmProjects\pythonProject\venv\lib\site-packages\hytest\common.py&quot;, line 50, in CHECK_POINT
    raise AssertionError()
AssertionError
</div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <div id="float_menu">
        <div class="menu-item" onclick="document.querySelector(&quot;body&quot;).scrollIntoView()">页首</div>
        <div class="menu-item" onclick="window.open(&quot;http://www.byhy.net/tut/auto/hytest/01&quot;, &quot;_blank&quot;); ">教程</div>
        <div class="menu-item" id="display_mode" onclick="toggle_folder_all_cases()">精简</div>
        <div class="error_jumper" display="block">
          <div class="menu-item" onclick="previous_error()" title="上一个错误">∧</div>
          <div class="menu-item" onclick="next_error()" title="下一个错误">∨</div>
        </div>
      </div>
    </div>
  </body>
</html>